package cn.coco.jf.fw.core.db;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysItemTbl extends Model<SysItemTbl>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static SysItemTbl dao = new SysItemTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    
    public static SysItemTbl newInstance(){
        return new SysItemTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    public SysItemTbl(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    private String itemType;
    private String itemCode;
    private String itemName;

    public String getItemType() {
        return get("itemType");
    }

    public void setItemType(String itemType) {
        set("itemType", itemType);
    }

    public String getItemCode() {
        return get("itemCode");
    }

    public void setItemCode(String itemCode) {
        set("itemCode", itemCode);
    }

    public String getItemName() {
        return get("itemName");
    }

    public void setItemName(String itemName) {
        set("itemName", itemName);
    }

}
